#include<iostream>
using namespace std;
template <typename T>
T max(T a,T b,T c)
{
  if(b>a) a=b;
  if(c>a) a=c;
  return a;
}
int main()
{
  int i1,i2,i3;
  cout<<"Plaese enter three int numbers:"<<endl;
  cin>>i1>>i2>>i3;
  float f1,f2,f3;
  cout<<"Please enter three float numbers:"<<endl;
  cin>>f1>>f2>>f3;
  long l1,l2,l3;
  cout<<"Please enter three long numbers:"<<endl;
  cin>>l1>>l2>>l3;
  cout<<"max_int:"<<max(i1,i2,i3)<<endl;
  cout<<"max_float"<<max(f1,f2,f3)<<endl;
  cout<<"max_long"<<max(l1,l2,l3)<<endl;
}